package com.blame.springblog.service;

import com.blame.springblog.pojo.dataobject.BlogInfo;
import com.blame.springblog.pojo.request.AddBlogRequest;
import com.blame.springblog.pojo.request.UpdateBlogRequest;
import com.blame.springblog.pojo.response.BlogInfoResponse;
import com.blame.springblog.pojo.response.UserInfoResponse;

import java.util.List;

public interface BlogInfoService {
    List<BlogInfoResponse> getList();

    BlogInfoResponse getBlogDetail(Integer blogId);

    BlogInfo getBlogInfo(Integer blogId);


    Boolean addBlog(AddBlogRequest addBlogRequest);

    Boolean updateBlog(UpdateBlogRequest updateBlogRequest);

    Boolean deleteBlog(Integer id);
}